package com.jk.controller;

import com.jk.bean.Finance;
import com.jk.service.LiuHeYiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * @Description: 骚骚的🐏
 * @Author: 杨
 * @Date: 2019/3/8 10:42
 */
@Controller
@RequestMapping("liuHeYi")
public class liuHeYiController {
    @Autowired
    private LiuHeYiService liuHeYiService;


    @ResponseBody
    @RequestMapping("getCaijing")
    public List<Finance> getCaijing(){
        List<Finance> list=liuHeYiService.getCaijing();
        return list;
    } @ResponseBody
    @RequestMapping("getKeji")
    public List<Finance> getKeji(){
        List<Finance> list=liuHeYiService.getKeji();
        return list;
    }
     @ResponseBody
    @RequestMapping("getTiYu")
    public List<Finance> getTiYu(){
        List<Finance> list=liuHeYiService.getTiYu();
        return list;
    }
     @ResponseBody
    @RequestMapping("getJunShi")
    public List<Finance> getJunShi(){
        List<Finance> list=liuHeYiService.getJunShi();
        return list;
    }
      @ResponseBody
    @RequestMapping("getYuEr")
    public List<Finance> getYuEr(){
        List<Finance> list=liuHeYiService.getYuEr();
        return list;
    }
      @ResponseBody
    @RequestMapping("getXingZuo")
    public List<Finance> getXingZuo(){
        List<Finance> list=liuHeYiService.getXingZuo();
        return list;
    }    @ResponseBody
    @RequestMapping("getQiChe")
    public List<Finance> getQiChe(){
        List<Finance> list=liuHeYiService.getQiChe();
        return list;
    }   @ResponseBody
    @RequestMapping("getFangChan")
    public List<Finance> getFangChan(){
        List<Finance> list=liuHeYiService.getFangChan();
        return list;
    }  @ResponseBody
    @RequestMapping("getMeiShi")
    public List<Finance> getMeiShi(){
        List<Finance> list=liuHeYiService.getMeiShi();
        return list;
    }


}
